\(\int \frac {x}{\log (c x)} \, dx\) [24]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [A] (verification not implemented)
   Sympy [F]
   Maxima [A] (verification not implemented)
   Giac [A] (verification not implemented)
   Mupad [F(-1)]

Optimal result

Integrand size = 8, antiderivative size = 11 \[ \int \frac {x}{\log (c x)} \, dx=\frac {\operatorname {ExpIntegralEi}(2 \log (c x))}{c^2} \]

[Out]

Ei(2*ln(c*x))/c^2

Rubi [A] (verified)

Time = 0.01 (sec) , antiderivative size = 11, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {2346, 2209} \[ \int \frac {x}{\log (c x)} \, dx=\frac {\operatorname {ExpIntegralEi}(2 \log (c x))}{c^2} \]

[In]

Int[x/Log[c*x],x]

[Out]

ExpIntegralEi[2*Log[c*x]]/c^2

Rule 2209

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))/((c_.) + (d_.)*(x_)), x_Symbol] :> Simp[(F^(g*(e - c*(f/d)))/d)*ExpInteg
ralEi[f*g*(c + d*x)*(Log[F]/d)], x] /; FreeQ[{F, c, d, e, f, g}, x] &&  !TrueQ[$UseGamma]

Rule 2346

Int[((a_.) + Log[(c_.)*(x_)]*(b_.))^(p_)*(x_)^(m_.), x_Symbol] :> Dist[1/c^(m + 1), Subst[Int[E^((m + 1)*x)*(a
 + b*x)^p, x], x, Log[c*x]], x] /; FreeQ[{a, b, c, p}, x] && IntegerQ[m]

Rubi steps \begin{align*} \text {integral}& = \frac {\text {Subst}\left (\int \frac {e^{2 x}}{x} \, dx,x,\log (c x)\right )}{c^2} \\ & = \frac {\text {Ei}(2 \log (c x))}{c^2} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.02 (sec) , antiderivative size = 11, normalized size of antiderivative = 1.00 \[ \int \frac {x}{\log (c x)} \, dx=\frac {\operatorname {ExpIntegralEi}(2 \log (c x))}{c^2} \]

[In]

Integrate[x/Log[c*x],x]

[Out]

ExpIntegralEi[2*Log[c*x]]/c^2

Maple [A] (verified)

Time = 0.01 (sec) , antiderivative size = 14, normalized size of antiderivative = 1.27

method result size
derivativedivides \(-\frac {\operatorname {Ei}_{1}\left (-2 \ln \left (x c \right )\right )}{c^{2}}\) \(14\)
default \(-\frac {\operatorname {Ei}_{1}\left (-2 \ln \left (x c \right )\right )}{c^{2}}\) \(14\)
risch \(-\frac {\operatorname {Ei}_{1}\left (-2 \ln \left (x c \right )\right )}{c^{2}}\) \(14\)

[In]

int(x/ln(x*c),x,method=_RETURNVERBOSE)

[Out]

-1/c^2*Ei(1,-2*ln(x*c))

Fricas [A] (verification not implemented)

none

Time = 0.29 (sec) , antiderivative size = 12, normalized size of antiderivative = 1.09 \[ \int \frac {x}{\log (c x)} \, dx=\frac {\operatorname {log\_integral}\left (c^{2} x^{2}\right )}{c^{2}} \]

[In]

integrate(x/log(c*x),x, algorithm="fricas")

[Out]

log_integral(c^2*x^2)/c^2

Sympy [F]

\[ \int \frac {x}{\log (c x)} \, dx=\int \frac {x}{\log {\left (c x \right )}}\, dx \]

[In]

integrate(x/ln(c*x),x)

[Out]

Integral(x/log(c*x), x)

Maxima [A] (verification not implemented)

none

Time = 0.24 (sec) , antiderivative size = 11, normalized size of antiderivative = 1.00 \[ \int \frac {x}{\log (c x)} \, dx=\frac {{\rm Ei}\left (2 \, \log \left (c x\right )\right )}{c^{2}} \]

[In]

integrate(x/log(c*x),x, algorithm="maxima")

[Out]

Ei(2*log(c*x))/c^2

Giac [A] (verification not implemented)

none

Time = 0.30 (sec) , antiderivative size = 11, normalized size of antiderivative = 1.00 \[ \int \frac {x}{\log (c x)} \, dx=\frac {{\rm Ei}\left (2 \, \log \left (c x\right )\right )}{c^{2}} \]

[In]

integrate(x/log(c*x),x, algorithm="giac")

[Out]

Ei(2*log(c*x))/c^2

Mupad [F(-1)]

Timed out. \[ \int \frac {x}{\log (c x)} \, dx=\int \frac {x}{\ln \left (c\,x\right )} \,d x \]

[In]

int(x/log(c*x),x)

[Out]

int(x/log(c*x), x)